package com.jieshuibao.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.jieshuibao.model.db.Category;

public interface CategoryMapper {
	public List<Category> selectCategoryByParentId(
			@Param(value = "id") String id);

	// 根据id查询
	public Category selectCategoryAllById(String id);

	// 添加
	public void insertCategoery(Category category);

	// 所有
	public List<Category> selectCategorys();


	// 删除
	public void deleteCategory(String id);

	// 修改
	public void updateCategory(Category category);
	
	public Category selectCategoryById(String id);

	
}